package com.bls.exception;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class MyException extends Exception{
    private Integer errCode;
    private String message;
    private String detail;

    public MyException(){
        super();
    }

    public MyException(Integer errCode, String message){
        this.errCode = errCode;
        this.message = message;
    }

    public MyException(Integer errCode, String message, String detail){
        this.errCode = errCode;
        this.message = message;
        this.detail = detail;
    }
}
